<template>
    <div id="abcdefg">
        <el-button @click="load">点击动态添加组件并传递props</el-button>
    </div>
</template>
<script>
    export default {
        setup(){
            let props={
                foo:ref('parent-bar')
            }
            return {
                props,
                load(){
                    window.$v3.$mountMfcComponent('#abcdefg', 
                    //组件文件名称
                    'x-demo-dynamic-mfc-child-comp', props,
                    //文件夹路径
                    'x-demo-dynamic-mfc-child-comp')
                }
            }
        }
    }
</script>